using System;
using System.Collections.Generic;
using System.Text;

namespace OrbitOne.Feed.Domain {
    /// <summary>
    /// 
    /// </summary>
    public class Content {
        #region Members :
        private Uri _url;
        private Int64 _length;
        private String _mimeType;
        #endregion Members 
        #region Ctor's :
        /// <summary>
        /// Initializes a new instance of the <see cref="T:Content"/> class.
        /// </summary>
        /// <param name="url">The URL.</param>
        /// <param name="length">The length.</param>
        /// <param name="mimeType">Type of the MIME.</param>
        public Content(Uri url,
            Int64 length,
            String mimeType) {
            this.Url = url;
            this.Length = length;
            this.MimeType = mimeType;
        }
        #endregion Ctor's 
        #region Properties :
        /// <summary>
        /// Gets or sets the URL.
        /// </summary>
        /// <value>The URL.</value>
        public Uri Url {
            get { return _url; }
            set { _url = value; }
        }
        /// <summary>
        /// Gets or sets the type of the MIME.
        /// </summary>
        /// <value>The type of the MIME.</value>
        public String MimeType {
            get { return _mimeType; }
            set { _mimeType = value; }
        }
        /// <summary>
        /// Gets or sets the length.
        /// </summary>
        /// <value>The length.</value>
        public Int64 Length {
            get { return _length; }
            set { _length = value; }
        }
        #endregion Properties 
    }
}
